import QRCode from 'qrcode.react';

// @ts-ignore
const QRCodeGenerator = ({ text }) => {
  return (
    <div>
      <QRCode value={text} size={256} />
    </div>
  );
};

export default QRCodeGenerator;
